<?php
//shell_exec("D:\AutoIt3\AutoIt3.exe ..\au3\closewin.au3");
shell_exec("Dautoit3 upload_file.au3 http://shop.shante.me/Uploads/Shop/Picture/2020-05-04/5eaeeb375f75f.png");
$shuqian=<<<TEXT
//激发上传框 书签
javascript:(function(){    var script = document.createElement('script');    script.src = 'https://shop.shante.me/yunshop/au3/click.js?s=%27+Math.random();    document.body.appendChild(script);})();

//激发上传框 click.js:
document.querySelector("#app > div > div.app_content > div:nth-child(4) > micro-app").shadowRoot.querySelector("#props-editor > div:nth-child(1) > div.default_box.default-box_reset-bottom.goods_basic > div.box_content > div > form > div.goods_upload > div.weui-desktop-form__control-group > div > div.weui-desktop-new-upload__wrp > div > div > div> div").click()


//输入文件路径和点击上传 书签
javascript:(function(){
    fetch('https://shop.shante.me/yunshop/au3/au3.php')
        .then(response => response.text())
        .then(text => console.log(text))
        .catch(err => console.error('Error:', err));
})();
TEXT;

